package SwingComponents;

import java.awt.Color;
import javax.swing.JLabel;

public class PersonalizedLabel extends JLabel{
    public String text;
    
    public PersonalizedLabel(String text){
        this.text = text;
        
        this.setText(text);
        
        this.setForeground(Color.red);
        
        this.setVisible(true);
    }
}
